package com.qingke.practice2;

public class Person {
	private int  id;
	private String areaName;
	private int salary;
	private int areaId;
	private String personName;
	
	
	public Person(){
		
	}
	
	public Person(int id,String areaName,int salary,int areaId,String personName){
		this.id = id;
		this.areaName = areaName;
		this.salary = salary;
		this.areaId = areaId;
		this.personName = personName;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	public int getAreaId() {
		return areaId;
	}
	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}
	public String getPersonName() {
		return personName;
	}
	public void setPersonName(String personName) {
		this.personName = personName;
	}
	
	public String toString(){
		return id+ " " + areaName + " " + salary + " " + areaId + " " + personName;
	}
	
}
